package com.atguigu.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


/**
 * 二级分类
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Catalog2Vo {

    private String catalogId;
    private List<Object> catalog3List;
    private String id;
    private String name;


    /**
     * 三级分类
     */
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Catalog3Vo {

        private String catalog2Id; // 父分类
        private String id;
        private String name;
    }
}
